package QL;

import java.util.Map;

public class ButlerUpdateRoomDataRequest implements IQLRequest
{
    /// <summary>
    /// 游戏ID
    /// </summary>
    public long GameID;

    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 房间编号
    /// </summary>
    public long RoomNum;

    /// <summary>
    /// 修改数据
    /// </summary>
    public long HP;

    @Override
    public String GetApiName()
    {
        return "butler.update.room.data";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("gamei_d", String.valueOf(GameID));
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("room_num", String.valueOf(RoomNum));
        map.put("h_p", String.valueOf(HP));
    }
}
